﻿using System;
using System.Collections.Generic;
using System.Text;
using CJJ_BlogApiV3.Model.Common;

namespace CJJ_BlogApiV3.Model.ReuqestModel
{
    /// <summary>
    /// 列表查询
    /// </summary>
    public class CategoryRequest : PageQuery
    {
        public string CategoryName { get; set; }
    }
    /// <summary>
    /// 详情
    /// </summary>
    public class CategoryItem
    {
        public int CategoryID { get; set; }
        /// <summary>
        /// 操作者
        /// </summary>
        public int Operator { get; set; }
        /// <summary>
        /// 启用禁用状态
        /// </summary>
        public int Status { get; set; }
    }

    /// <summary>
    /// 编辑详情
    /// </summary>
    public class UpdateCategory
    {
        public int CategoryID { get; set; }
        /// <summary>
        /// 操作者
        /// </summary>
        public int Operator { get; set; }
        /// <summary>
        /// 分类名称
        /// </summary>
        public string CategoryName { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }
        /// <summary>
        /// 是否私密 私密不显示
        /// </summary>
        public int Description { get; set; }
    }
}
